import { CREATE, LOGIN,REGISTER } from "../constants/user"

export const login = (payload) => ({
  type:LOGIN,
  payload
})

export const register = (payload) => ({
  type:REGISTER,
  payload
})

export const create = (payload) => ({
  type:CREATE,
  payload
})